import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import { initI18n } from './mainExtens.js'

const app = createApp(App)
async function bootstrap() {
  app.use(createPinia())
  app.use(router)
  const i18n = await initI18n()
  app.use(i18n)
  app.mount('#app')
}

bootstrap()
